package com.uziot.activiti6.common.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author shidt
 * @version V1.0
 * @className ProcessNode
 * @date 2021-02-26 10:38:41
 * @description 流程节点数据
 */

@Data
@Accessors(chain = true)
public class ProcessNode implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 节点ID
     */
    private String nodeId;
    /**
     * 节点名称
     */
    private String nodeName;
    /**
     * 审批人
     */
    private String assignee;
    /**
     * 用户候选人ID列表
     */
    private String candidateUserIds;
    /**
     * 用户候选组ID列表
     */
    private String candidateGroupIds;

    public ProcessNode(String nodeId, String nodeName) {
        this.nodeId = nodeId;
        this.nodeName = nodeName;
    }
}
